NMGR\Lib\Order D

Total Complexity 152
Dependencies 2
Dependents 1
Total lines 835
Lines of code 513
Logical lines of code 273
Comment lines 227
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
format_item_data()
A
47 13 34
get_posted_variations()
A
45 12 40
add_to_cart_response()
A
49 12 29
add_meta_data()
A
46 11 38
add_to_cart()
A
48 10 30
notify_if_cart_has_wishlist()
A
51 10 27
process_wishlist_item_payment()
A
51 9 27
validate_wishlist_item_cart_quantity()
A
48 8 34
show_wishlist_item_cart_item_data()
A
50 8 28
notify_wishlist_shipping()
A
50 8 27
update_wishlist_item_purchased_quantity()
A
46 7 38
show_custom_order_notice()
S
59 8 11
check_cart_items_for_shipping_address()
S
54 6 19
maybe_add_item_to_cart()
S
59 5 14
add_to_cart_from_product_page()
S
49 3 36
sync_order_wishlists_metabox()
S
58 4 14
show_custom_order_notice_in_email()
S
68 4 6
maybe_update_cart_item_quantity()
S
65 3 8
add_order_item_meta()
S
64 3 10
run()
S
52 1 23
manually_update_order_wishlist_data()
S
72 2 5
get_posted_wishlist_items_to_add_to_cart()
S
69 2 6
do_process_wishlist_item_payment()
S
80 1 3
process_payment_for_deleted_refunds()
S
80 1 3
add_order_meta()
S
80 1 3